package com.weidey.blogWeb.service.Impl;

import com.weidey.blogWeb.domain.WebGroup;
import com.weidey.blogWeb.mapper.WebGroupMapper;
import com.weidey.blogWeb.service.IWebGroupService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class WebGroupServiceImpl implements IWebGroupService {

    @Resource
    private WebGroupMapper webGroupMapper;

    @Override
    public List<WebGroup> getBlogGroup() {
        return webGroupMapper.getBlogGroup();
    }

    @Override
    public WebGroup getBlogGroupById(int id) {
        return webGroupMapper.getBlogGroupById(id);
    }
}